﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
/// <summary>
/// Summary description for BWBaoCaoGiangCap
/// </summary>
namespace BCDataCenter.BOL
{
    public class BWBaoCaoGiangCap
    {
        public BWBaoCaoGiangCap()
        {
            //
            // TODO: Add constructor logic here
            //
        }
        public DataSet dsReport(ref string error, string MonthYear, string SiteCode, string UserName)
        {
            return new DataAccessLayer.DAL().MyExecuteQuery(ref error, "Tr_BaoCaoGiangCapView", CommandType.StoredProcedure,
                new SqlParameter("@MonthYear", MonthYear),
                new SqlParameter("@SiteCode", SiteCode),
                new SqlParameter("@UserName", UserName));
        }
        public System.Data.DataSet dsTTPPList(ref string error)
        {
            return new DataAccessLayer.DAL().MyExecuteReader(ref error, "Tr_GetTTPPListFromMis", System.Data.CommandType.StoredProcedure);
        }
    }
}